package com.example.pceb.service;

import com.example.pceb.entity.SchoolEnterpriseCooperation;
import java.util.List;

public interface SchoolEnterpriseCooperationService {
    boolean saveCooperation(SchoolEnterpriseCooperation cooperation);
    List<SchoolEnterpriseCooperation> listByPublisherType(String publisherType, String projectStatus);
    SchoolEnterpriseCooperation getById(Long id);
    boolean updateCooperationInfo(SchoolEnterpriseCooperation cooperation);
    List<SchoolEnterpriseCooperation> getMyProjects(String username, String userType);
    boolean deleteProject(Long id, String username);
    
    // 新增方法：获取学校管理员项目（状态不为"未立项"）
    List<SchoolEnterpriseCooperation> getSchoolAdminPendingProjects(String username);
    
    // 新增方法：获取企业管理员项目（状态不为"未立项"）
    List<SchoolEnterpriseCooperation> getEnterpriseAdminPendingProjects(String username);
}